* html .clearfix {
    height: 1%;
}

*:first-child + html .clearfix {
    min-height: 1px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
}

.choose-tag-dialog {
    width: 700px;
    height: 400px;
    margin: 0 auto;
    padding: 20px 0;
}

.choose-tag-dialog .all-box, .choose-tag-dialog .choosed-box {
    border: 1px solid #ccc;
    width: 320px;
}

.choose-tag-dialog .all-box {
    float: left;
}

.choose-tag-dialog .choosed-box {
    float: right;
}

.choose-tag-dialog .hd {
    padding: 10px;
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid #ccc;
}

.choose-tag-dialog .bd {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.choose-tag-dialog .dialog-ft, .add-tag-dialog .dialog-ft {
    text-align: right;
    margin-top: 10px;
}

.choose-tag-dialog .item-choose-btn, .choose-tag-dialog .item-remove-btn {
    color: #009688;
    font-size: 12px;
    text-decoration: underline;
    margin-left: 10px;
    cursor: pointer;
}

/*.choose-tag-dialog .layui-form-checkbox {*/
/*    display: none !important;*/
/*}*/

.add-tag-dialog {
    margin: 20px;
    padding: 20px 0;
}

.add-tag-dialog {
    height: 560px;
}

.add-tag-dialog .added-box {
    height: 300px;
    overflow: auto;
    border: 1px solid #ccc;
    margin: 20px;
}

.add-tag-dialog .added-box .added-list {
    padding: 20px;
}

.add-tag-dialog .added-box .added-list .tag-item {
    height: 30px;
    line-height: 30px;
}

.add-tag-dialog .added-box .added-list .tag-item .name {
    float: left;
}

.add-tag-dialog .added-box .added-list .tag-item .remove-btn {
    float: right;
    color: #009688;
    cursor: pointer;
}

.add-tag-dialog .added-box .added-list .tag-item .remove-btn:hover {
    text-decoration: underline;
}